package com.share.homestay.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.share.homestay.entity.OrderLogs;
import com.share.homestay.entity.SysUser;
import com.share.homestay.entity.TjPermissions;
import com.share.homestay.pojo.JsonResult;

import java.util.List;

public interface SysUserService extends IService<SysUser> {
    JsonResult sysUserPageQuery(SysUser sysUser, Integer pageNum, Integer pageSize);

    SysUser getUserByUsername(String username);

    List<TjPermissions> selectPermsByUserId(Long userId);

    void addOrderLogs(OrderLogs orderLogs);

    JsonResult selectLogs(OrderLogs orderLogs, Integer pageNum, Integer pageSize);

    List<SysUser> findAllUser();

}
